import com.baomidou.dynamic.datasource.event.DataSourceInitEvent;
import com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DataSourceProperty;
import org.springframework.jdbc.datasource.init.DataSourceInitializer;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : example
 * @ Author: XuLeHuang
 * @ Date: 2022/7/26 9:10
 * @ Description:
 */
public class Test {
    static class TestTwo{
        static ObjectHolder staticObj = new ObjectHolder();
        ObjectHolder instanceObj = new ObjectHolder();
        void foo() {
            ObjectHolder localObj = new ObjectHolder();
            //System.out.println(System.getProperty("java.library.path"));
            System.out.println("done");
        }
    }
    private static class ObjectHolder {}
    public static void main(String[] args) {
        ObjectHolder instanceObj = new ObjectHolder();
        System.out.println(instanceObj);
       /* new Thread(()->{
            while (true)
                System.out.println("测试测试");
        },"TestThread").start();*/
        TestTwo testTwo = new Test.TestTwo();
        testTwo.foo();
        try {
            Thread.sleep(Long.MAX_VALUE);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
